package org.nanfang.Yield.Interr;

public class MainInterrUpted {
    public static void main(String[] args) throws InterruptedException {
        InterrUpted dd = new InterrUpted("线程一");
        dd.start();
        Thread.sleep(5000);
        dd.interrupt();
    }
}
